package com.beta.service;

import com.baomidou.framework.service.ISuperService;
import com.baomidou.mybatisplus.plugins.Page;
import com.beta.dto.home.HomeRecommendsDto;
import com.beta.entity.HomeRecommends;
import com.beta.entity.Users;

import java.util.List;

/**
 *
 * HomeRecommends 表数据服务层接口
 *
 */
public interface IHomeRecommendsService extends ISuperService<HomeRecommends> {

    List<HomeRecommends> getHomeRecommends(Users user);

    Page<HomeRecommendsDto> getHomeRecommendsPage(Page<HomeRecommendsDto> page);

    HomeRecommendsDto getHomeRecommendById(Integer id);

    void createHomeRecommend(HomeRecommendsDto homeRecommendsDto);

    void updateHomeRecommendById(Integer id, HomeRecommendsDto homeRecommendsDto);

}